<template>
  <div id="app">
    <!-- wly -->
    <router-link to='/shop'></router-link>
    <!-- yjl -->
    <router-link to="/ypersonal"></router-link>


    <!-- czl -->
    <router-link to='/'></router-link>



    <router-view></router-view>
  </div>
</template>

<script>

export default {
  name: 'App',
  components: {
  },
  // created () {
  //   // 在页面加载时读取sessionStorage
  //   // if (sessionStorage.getItem('store')) {
  //   //   this.$store.replaceState(Object.assign({}, this.$store.state, JSON.parse(sessionStorage.getItem('store'))));
  //   //   console.log(this.$store);
  //   // }
  //   // // 在页面刷新时将store保存到sessionStorage里
  //   // window.addEventListener('beforeunload', () => {
  //   //   sessionStorage.setItem('store', JSON.stringify(this.$store.state))
  //   // })
  // }
}
</script>

<style>
*{
  margin: 0;
  padding: 0;
}
ul li ,ol li {
  list-style: none;
}
a{
  text-decoration: none;
}
input,button{
  outline: none;
  border: none;
}
i{
  font-style: normal;
}
h3{
  font-weight: normal;
}
em{
  font-weight: normal;
  font-style: normal;
}
strong{
  font-weight: normal;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
